<div class="erreur"><?php
	echo $_texte->get('', "<p>%s</p>");
?></div>
<form action="" method="post">
	<fieldset>
		<legend>S'enregistrer</legend>
		<div class="style_form">
			<p><label for="name">pseudo</label> <input type="text" name="name" id="name" maxlength="25" value="<?php echo $_enregistrePlayer->getName(); ?>" /></p>
			<p><label for="pass">mot de passe</label> <input type="password" name="pass" id="pass" maxlength="25" size="25" value="<?php echo $_enregistrePlayer->getPass(); ?>" /></p>
			<p><label for="pass_confirme">confirmer</label> <input type="password" name="pass_confirme" id="pass_confirme" maxlength="25" value="<?php echo $_enregistrePlayer->getPass(); ?>" /></p>
			<p><label for="email">adresse email</label> <input type="text" name="email" id="email" maxlength="40" value="<?php echo $_enregistrePlayer->getEmail(); ?>" /></p>
			<p><label for="race">choisissez votre race</label><select name="race" id="race">
					<option value="0" <?php echo $_enregistrePlayer->getRace()===0?'selected="selected"':''; ?>><?php echo RACE0; ?></option>
					<option value="1" <?php echo $_enregistrePlayer->getRace()===1?'selected="selected"':''; ?>><?php echo RACE1; ?></option>
					<option value="2" <?php echo $_enregistrePlayer->getRace()===2?'selected="selected"':''; ?>><?php echo RACE2; ?></option>
					<option value="3" <?php echo $_enregistrePlayer->getRace()===3?'selected="selected"':''; ?>><?php echo RACE3; ?></option>
				</select>
			</p>
		</div>
		<p>
			<input type="checkbox" name="reglement" id="reglement" /> <label for="reglement">J'accepte le <a href="?p=reglement">reglement</a></label><br />
		</p>
		<p>
			<input type="checkbox" name="resume_mail" id="resume_mail" /> <label for="resume_mail">Je veux recevoir mon pseudo et mon mot de passe par mail</label><br />
		</p>
		<p class="stop_float">
			les coordonnées de votre planète sont choisies aléatoirement.
		</p>
	</fieldset>
	<p>
		<input type="submit" /> <input type="reset" />
	</p>
</form>